package com.klxedu.ms.gateway.security.client.service;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 登录用户
 * 
 * @author songhuiqing
 *
 */
public class LoginUser {

	/**
	 * 状态：1活动中
	 */
	public static final int STATE_ON = 1;
	/**
	 * 状态：2已作废
	 */
	public static final int STATE_OFF = 2;
	/**
	 * 状态：3 未激活（未登录过系统完成激活动作）
	 */
	public static final int STATE_NOTACTIVE = 3;
	/**
	 * 状态：4：已锁定（冻结状态，无登录权限）
	 */
	public static final int STATE_LOCKED = 4;
	/**
	 * 身份编码：普通用户
	 */
	public static final String SYS_IDENTITY_USER = "USER";
	/**
	 * 身份编码：管理员
	 */
	public static final String SYS_IDENTITY_ADMIN = "ADMIN";
	private String orgID;// 机构ID
	private String userID;// 用户ID
	private String accountID;// 账号ID
	private String userName;// 登录名称
	private String name;// 姓名
	private String passwd;// 密码
	private String wxAppID;// 微信APPID
	private String wxOpenID;// 微信OPENID
	private Date registDate;// 注册时间
	private Date activeDate;// 激活时间
	private int state;// 账号状态
	private List<Map<String,String>> scopeMapList;// 权限列表
	private List<String> sysIdentityCodes;// 身份编码

	public String getOrgID() {
		return orgID;
	}

	public void setOrgID(String orgID) {
		this.orgID = orgID;
	}

	public String getUserID() {
		return userID;
	}

	public void setUserID(String userID) {
		this.userID = userID;
	}

	public String getAccountID() {
		return accountID;
	}

	public void setAccountID(String accountID) {
		this.accountID = accountID;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPasswd() {
		return passwd;
	}

	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}

	public String getWxAppID() {
		return wxAppID;
	}

	public void setWxAppID(String wxAppID) {
		this.wxAppID = wxAppID;
	}

	public String getWxOpenID() {
		return wxOpenID;
	}

	public void setWxOpenID(String wxOpenID) {
		this.wxOpenID = wxOpenID;
	}

	public Date getRegistDate() {
		return registDate;
	}

	public void setRegistDate(Date registDate) {
		this.registDate = registDate;
	}

	public Date getActiveDate() {
		return activeDate;
	}

	public void setActiveDate(Date activeDate) {
		this.activeDate = activeDate;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}


	public List<String> getSysIdentityCodes() {
		return sysIdentityCodes;
	}

	public void setSysIdentityCodes(List<String> sysIdentityCodes) {
		this.sysIdentityCodes = sysIdentityCodes;
	}

	public List<Map<String,String>> getScopeMapList() {
		return scopeMapList;
	}

	public void setScopeMapList(List<Map<String,String>> scopeMapList) {
		this.scopeMapList = scopeMapList;
	}
}
